//
//  STableViewCell1.m
//  Gunz
//
//  Created by Joggy on 16/5/23.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import "STableViewCell1.h"
#import "GZConst.h"

@implementation STableViewCell1

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _swit = [[UISwitch alloc] init];
    _swit.onTintColor = CUSTOM_GREEN;
    _swit.layer.position = CGPointMake(screenWidth - 15 - _swit.frame.size.width/2, 47/2);
    [self.contentView addSubview:_swit];
    return self;
}

@end
